package com.generatorTest.bean.staff;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author generator
 * @since 2020-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TStaff implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 工号
     */
    private String code;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private Integer sex;

    /**
     * 部门
     */
    private String department;

    /**
     * 职位
     */
    private String position;

    /**
     * 身份证号码
     */
    private String idcard;

    /**
     * 手机号码
     */
    private String phonenumber;

    /**
     * 地址
     */
    private String address;

    /**
     * 现居地址
     */
    private String currentAddress;

    /**
     * 入职时间
     */
    private LocalDate hiredate;

    /**
     * 家庭电话
     */
    private String familyPhone;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 判断是否为月薪人员，0时为月薪人员
     */
    private Integer grade;


}
